package com.example.administrator.mynews.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/5/16.
 */

public class GuoKeListBean {
    private String now;
    private boolean ok;
    private int limit;
    private int offset;
    private int total;
    private List<ResultBean> result;

    /**
     * 第一层：now,ok,limit,offset,total和result的列表，其中result的内容了包括第二层；
     * @return
     */
    public String getNow() {
        return now;
    }

    public void setNow(String now) {
        this.now = now;
    }

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    /**
     * 第二层：result的内容
     */
    public static class ResultBean{
        private String image;
        private boolean is_replyable;
        private String preface;
        private int id;
        private SubjectBean subject;
        private String copyright;
        private AuthorBean author;
        private String image_description;
        private boolean is_show_summary;
        private String minisite_key;
        private ImageInfoBean image_info;
        private String subject_key;
        private MinisiteBean minisite;
        private String date_published;
        private int replies_count;
        private boolean is_author_external;
        private int recommends_count;
        private String title_hide;
        private String date_modified;
        private String url;
        private String title;
        private String small_image;
        private String summary;
        private Object ukey_author;
        private String date_created;
        private String resource_url;
        private List<ChannelsBean> channels;
        private List<String> channel_keys;
        private List<?> tags;

        public List<ChannelsBean> getChannels() {
            return channels;
        }

        public void setChannels(List<ChannelsBean> channels) {
            this.channels = channels;
        }

        public List<String> getChannel_keys() {
            return channel_keys;
        }

        public void setChannel_keys(List<String> channel_keys) {
            this.channel_keys = channel_keys;
        }

        public List<?> getTags() {
            return tags;
        }

        public void setTags(List<?> tags) {
            this.tags = tags;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public boolean is_replyable() {
            return is_replyable;
        }

        public void setIs_replyable(boolean is_replyable) {
            this.is_replyable = is_replyable;
        }

        public String getPreface() {
            return preface;
        }

        public void setPreface(String preface) {
            this.preface = preface;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public SubjectBean getSubject() {
            return subject;
        }

        public void setSubject(SubjectBean subject) {
            this.subject = subject;
        }

        public String getCopyright() {
            return copyright;
        }

        public void setCopyright(String copyright) {
            this.copyright = copyright;
        }

        public AuthorBean getAuthor() {
            return author;
        }

        public void setAuthor(AuthorBean author) {
            this.author = author;
        }

        public String getImage_description() {
            return image_description;
        }

        public void setImage_description(String image_description) {
            this.image_description = image_description;
        }

        public boolean is_show_summary() {
            return is_show_summary;
        }

        public void setIs_show_summary(boolean is_show_summary) {
            this.is_show_summary = is_show_summary;
        }

        public String getMinisite_key() {
            return minisite_key;
        }

        public void setMinisite_key(String minisite_key) {
            this.minisite_key = minisite_key;
        }

        public ImageInfoBean getImage_info() {
            return image_info;
        }

        public void setImage_info(ImageInfoBean image_info) {
            this.image_info = image_info;
        }

        public String getSubject_key() {
            return subject_key;
        }

        public void setSubject_key(String subject_key) {
            this.subject_key = subject_key;
        }

        public MinisiteBean getMinisite() {
            return minisite;
        }

        public void setMinisite(MinisiteBean minisite) {
            this.minisite = minisite;
        }

        public String getDate_published() {
            return date_published;
        }

        public void setDate_published(String date_published) {
            this.date_published = date_published;
        }

        public int getReplies_count() {
            return replies_count;
        }

        public void setReplies_count(int replies_count) {
            this.replies_count = replies_count;
        }

        public boolean is_author_external() {
            return is_author_external;
        }

        public void setIs_author_external(boolean is_author_external) {
            this.is_author_external = is_author_external;
        }

        public int getRecommends_count() {
            return recommends_count;
        }

        public void setRecommends_count(int recommends_count) {
            this.recommends_count = recommends_count;
        }

        public String getTitle_hide() {
            return title_hide;
        }

        public void setTitle_hide(String title_hide) {
            this.title_hide = title_hide;
        }

        public String getDate_modified() {
            return date_modified;
        }

        public void setDate_modified(String date_modified) {
            this.date_modified = date_modified;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSmall_image() {
            return small_image;
        }

        public void setSmall_image(String small_image) {
            this.small_image = small_image;
        }

        public String getSummary() {
            return summary;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public Object getUkey_author() {
            return ukey_author;
        }

        public void setUkey_author(Object ukey_author) {
            this.ukey_author = ukey_author;
        }

        public String getDate_created() {
            return date_created;
        }

        public void setDate_created(String date_created) {
            this.date_created = date_created;
        }

        public String getResource_url() {
            return resource_url;
        }

        public void setResource_url(String resource_url) {
            this.resource_url = resource_url;
        }



        public static class SubjectBean{
            /**
             "url":"http://www.guokr.com/scientific/subject/astronomy/",
             "date_created":"2014-05-23T16:22:09.282129+08:00",
             "name":"天文",
             "key":"astronomy",
             "articles_count":413
             */
            private String url;
            private String date_created;
            private String name;
            private String key;
            private int articles_count;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getDate_created() {
                return date_created;
            }

            public void setDate_created(String date_created) {
                this.date_created = date_created;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public int getArticles_count() {
                return articles_count;
            }

            public void setArticles_count(int articles_count) {
                this.articles_count = articles_count;
            }
        }
        public static class AuthorBean{
            /**
             * "url":"",
             "introduction":"香港科技大学物理系助理教授，本文所述研究的合作者之一",
             "nickname":"王一",
             */
            private String url;
            private String introduction;
            private String nickname;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getIntroduction() {
                return introduction;
            }

            public void setIntroduction(String introduction) {
                this.introduction = introduction;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }
        public static class ImageInfoBean{
            private String url;
            private int width;
            private int height;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }
        }
        public static class MinisiteBean{
            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getIntroduction() {
                return introduction;
            }

            public void setIntroduction(String introduction) {
                this.introduction = introduction;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getDate_created() {
                return date_created;
            }

            public void setDate_created(String date_created) {
                this.date_created = date_created;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            private String name;
            private String url;
            private String introduction;
            private String key;
            private String date_created;
            private String icon;
        }
        public static class ChannelsBean{
            private String url;
            private String date_created;
            private String name;
            private String key;
            private int articles_count;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getDate_created() {
                return date_created;
            }

            public void setDate_created(String date_created) {
                this.date_created = date_created;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public int getArticles_count() {
                return articles_count;
            }

            public void setArticles_count(int articles_count) {
                this.articles_count = articles_count;
            }
        }
    }
}
